<?php
require_once 'MCollection.php';

class MStateCollection extends MCollection {

	function offsetSet($offset, $value)
	{
		if(!is_a($value, 'MState')) return false;
		
		if ($offset)  $this->objectArray[$offset] = $value;
		else  $this->objectArray[] = $value;
	}
}
?>